// 封装首页的请求
import request from '@/utils/request';

// 推荐歌单请求
export const recommendAPI = (params) => {
	return request({
		url: '/personalized?xx = ' + Date.now(),
		params,
	});
};

/* export function recommendAPI(params) {
	return request({
		url: '/personalized',
		params,
	});
} */

// 最新歌曲请求
export const newSongAPI = (params) => {
	return request({
		url: '/personalized/newsong?xx =' + Date.now(),
		params,
	});
};
